package com.ruoyi.hospital.entity;

import com.ruoyi.service.domain.ServiceCategory;

import java.util.List;

/**
 * 服务项目及分类列表返回体
 *
 * @author ZDL
 */
public class CategoryListReturnVO extends ServiceCategory {


    //分类下子分类
    private List<CategoryListReturnVO> children;

    //分类下项目及套餐
    private List<ItemsListReturnVO> itemsCombos;

    public List<CategoryListReturnVO> getChildren() {
		return children;
	}

    public void setChildren(List<CategoryListReturnVO> children) {
		this.children = children;
	}

    public List<ItemsListReturnVO> getItems() {
		return itemsCombos;
	}

    public void setItems(List<ItemsListReturnVO> items) {
		this.itemsCombos = items;
	}

    public CategoryListReturnVO(ServiceCategory newCategoryList) {
        this.setCategoryId(newCategoryList.getCategoryId());
        this.setCategoryName(newCategoryList.getCategoryName());
        this.setCategoryLink(newCategoryList.getCategoryLink());
        this.setCategoryUseFlag(newCategoryList.getCategoryUseFlag());
        this.setCategoryDelFlag(newCategoryList.getCategoryDelFlag());
        this.setCategoryLevel(newCategoryList.getCategoryLevel());
        this.setCategoryHeadlink(newCategoryList.getCategoryHeadlink());
    }



}
